package com.java.userservice.dao;

import com.java.userservice.model.RolePermission;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface RolePermissionMapper {

    List<RolePermission> list(int roleId);

    void removeByRoleId(int roleId);

    void save(RolePermission rolePermission);
}
